<jsp:directive.include file="includes/top.jsp"/>
<%--<div class="box" id="login">--%>
<form:form method="post" id="fm1" commandName="${commandName}" htmlEscape="true">

    <form:errors path="*" id="msg" cssClass="errors" element="div" htmlEscape="false"/>
    <div id="msg" class="errors" style="display: none"></div>

    <%--<h2><spring:message code="screen.welcome.instructions"/></h2>--%>
    <section class="row">
        <label for="username"><spring:message code="screen.welcome.label.netid"/></label>
        <spring:message code="screen.welcome.label.netid.accesskey" var="userNameAccessKey"/>
        <form:input cssErrorClass="error" id="username" name="username" size="25" tabindex="1"
                    accesskey="${userNameAccessKey}" path="username" autocomplete="off" htmlEscape="true"/>
    </section>

    <section class="row">
        <label for="password"><spring:message code="screen.welcome.label.password"/></label>
        <spring:message code="screen.welcome.label.password.accesskey" var="passwordAccessKey"/>
        <form:password cssErrorClass="error" id="password" name="password" size="25" tabindex="2"
                       path="password" accesskey="${passwordAccessKey}" htmlEscape="true" autocomplete="off"/>
    </section>

    <section class="row">
        <label for="securitycode"><spring:message code="screen.register.label.code"/> </label>
        <spring:message code="screen.register.label.code.accesskey" var="codeAccessKey"/>
        <input class="codetext" type="text" id="securitycode" name="securitycode" value="" accesskey="${codeAccessKey}">
        <a href=""><img src="/kaptcha.jpg" class="codeimg"></a>
    </section>

    <section class="row btn-row">
        <label for="password"><span class="accesskey"></label>
        <input type="hidden" name="lt" value="${loginTicket}"/>
        <input type="hidden" name="execution" value="${flowExecutionKey}"/>
        <input type="hidden" name="_eventId" value="submit"/>
        <input class="btn-submit" name="submit" accesskey="l" tabindex="4" type="submit"/>
        <span class="login-btn"><spring:message code="screen.welcome.button.login"/></span>
            <%--<input class="btn-reset" name="reset" accesskey="c"--%>
            <%--value="<spring:message code="screen.welcome.button.clear" />" tabindex="5" type="reset"/>--%>
    </section>
</form:form>
<jsp:directive.include file="includes/bottom.jsp"/>
